package com.ruoyi.system.api.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 救援任务对象 car_user_rescue
 * 
 * @author mawei
 * @date 2024-09-11
 */
public class CarUserRescue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 求助人 */
    private Long resId;

    /** 救援位置 */
    @Excel(name = "救援位置")
    private String resAdd;

    /** 求助人 */
    @Excel(name = "求助人")
    private String resName;

    /** 求助人id */
    private Long resAskid;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String resPhone;

    /** 车牌 */
    @Excel(name = "车牌")
    private String resCard;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resTime;

    /** 起点 */
    private String resStart;

    /** 终点位置 */
    @Excel(name = "终点位置")
    private String resEnd;

    /** 车型 */
    private String resCartype;

    /** 救援类型 */
    @Excel(name = "救援类型")
    private Long resType;

    public void setResId(Long resId) 
    {
        this.resId = resId;
    }

    public Long getResId() 
    {
        return resId;
    }
    public void setResAdd(String resAdd) 
    {
        this.resAdd = resAdd;
    }

    public String getResAdd() 
    {
        return resAdd;
    }
    public void setResName(String resName) 
    {
        this.resName = resName;
    }

    public String getResName() 
    {
        return resName;
    }
    public void setResAskid(Long resAskid) 
    {
        this.resAskid = resAskid;
    }

    public Long getResAskid() 
    {
        return resAskid;
    }
    public void setResPhone(String resPhone) 
    {
        this.resPhone = resPhone;
    }

    public String getResPhone() 
    {
        return resPhone;
    }
    public void setResCard(String resCard) 
    {
        this.resCard = resCard;
    }

    public String getResCard() 
    {
        return resCard;
    }
    public void setResTime(Date resTime) 
    {
        this.resTime = resTime;
    }

    public Date getResTime() 
    {
        return resTime;
    }
    public void setResStart(String resStart) 
    {
        this.resStart = resStart;
    }

    public String getResStart() 
    {
        return resStart;
    }
    public void setResEnd(String resEnd) 
    {
        this.resEnd = resEnd;
    }

    public String getResEnd() 
    {
        return resEnd;
    }
    public void setResCartype(String resCartype) 
    {
        this.resCartype = resCartype;
    }

    public String getResCartype() 
    {
        return resCartype;
    }
    public void setResType(Long resType) 
    {
        this.resType = resType;
    }

    public Long getResType() 
    {
        return resType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("resId", getResId())
            .append("resAdd", getResAdd())
            .append("resName", getResName())
            .append("resAskid", getResAskid())
            .append("resPhone", getResPhone())
            .append("resCard", getResCard())
            .append("resTime", getResTime())
            .append("resStart", getResStart())
            .append("resEnd", getResEnd())
            .append("resCartype", getResCartype())
            .append("resType", getResType())
            .toString();
    }
}
